#!/bin/bash

export Linux_Flavour_="@_linux_flavour@"
export System_="@_system@"
. @_EXECDIR@/check_system.sh
if [ $same_system -eq 1 ]; then
	export SIMPATH="@SIMPATH@"
	export FAIRROOTPATH="@FAIRROOTPATH@"
	if (@FULL_CONFIG_FILE@); then
		export Geant4_INCLUDE_DIRS="@Geant4_INCLUDE_DIRS@"
		export Geant4VMC_INCLUDE_DIRS="@Geant4VMC_INCLUDE_DIRS@"
		export Geant4VMC_LIBRARY_DIR="@Geant4VMC_LIBRARY_DIR@"
		export Geant4VMC_MACRO_DIR="@Geant4VMC_MACRO_DIR@"
		export PYTHIA6_LIBRARY_DIR="@PYTHIA6_LIBRARY_DIR@"
		export Geant3_INCLUDE_DIRS="@Geant3_INCLUDE_DIRS@"
		export G3SYS="@G3SYS@"
		export Geant3_LIBRARY_DIR="@Geant3_LIBRARY_DIR@"
		export USE_VGM="1"
		export PYTHIA8DATA="@PYTHIA8DATA@"

		@Geant4Data_Variables_sh@
	fi
	export Geant3_INCLUDE_DIRS="@Geant3_INCLUDE_DIRS@"
	export ROOT_LIBRARY_DIR="@ROOT_LIBRARY_DIR@"
	export ROOT_LIBRARIES="@ROOT_LIBRARIES@"
	export ROOT_INCLUDE_PATH="@Geant3_INCLUDE_DIRS@:@ROOT_INCLUDE_PATH@"
	export VMCWORKDIR="@VMCWORKDIR@"
	export FAIRLIBDIR="@FAIRLIBDIR@"
	export PYTHONPATH="@MY_PYTHONPATH@"
	export DYLD_LIBRARY_PATH="@MY_DYLD_LIBRARY_PATH@":$DYLD_LIBRARY_PATH
	export LD_LIBRARY_PATH="@MY_LD_LIBRARY_PATH@":$LD_LIBRARY_PATH
	export PATH="@MY_PATH@":$PATH
fi
